package com.dadie.dorm.dao;

import com.dadie.dorm.pojo.Dormbuild;
import com.dadie.dorm.pojo.query.DormbuildQuery;
import com.dadie.dorm.pojo.vo.DormbuildCountVO;

import java.util.List;

public interface IDormbuildDao {
    List<Dormbuild> selectByPage(DormbuildQuery dormbuildQuery);
    Integer selectTotalCount(DormbuildQuery dormbuildQuery);

    int deleteById(int id);

    int add(Dormbuild dormbuild);

    List<DormbuildCountVO> selectDormbuildCount();


    int update(Dormbuild dormbuild);
    Dormbuild getDormbuildUpdatePage(String id);

    Dormbuild selectById(int id);
}
